import 'package:agro_sklad_new/feature/domain/entities/stock_entity.dart';

class StockModel extends StockEntity{
  const StockModel({super.id, super.name});

  factory StockModel.fromJson(Map<String, dynamic> json) {
    return StockModel(
      id: json['id'] ?? '',
      name: json['name'] ?? '',
    );
  }
}